23 #define foreach(x, v) for (typeof (v).begin() x=(v).begin(); x !=(v).end(); ++x)
24 #define For(i, a, b) for (int i=(a); i<(b); ++i)
25 #define D(x) cout << #x " is " << x << endl
29 for (int c
= 0; c
< Casos
; ++c
) {
30 printf("random%d 3\n", c
);
31 for (int i
= 0; i
< 3; ++i
){
33 for (int j
= 0; j
< 6; ++j
) {
34 if (rand() % 100 < 50) { // function
35 printf("b(%c)", rand() % 6 + 'A');
37 printf("%c", rand() % 6 + 'A');
39 if (j
+ 1 < 6) printf(",");